<meta charset="utf8">
<?php
/**
* 
*/
class Person
{
	public $name;
	public $age;
	public function __construct($name,$age)
	{
		$this->name=$name;
		$this->age=$age;
	}

	function say(){
		echo "我的名字叫：".$this->name."<br/>";
		echo "我的年龄是：".$this->age."<br/>";

	}

}
$obj = new Person('lisi','23');
$obj->say();


?>